/**
 * HRDC交付中心路由
 */


import Main from '@/components/main'
import parentView from '@/components/parent-view'

const hrdcDeliverCenterRouter = {
  path: '/hrdc-deliver-center',
  name: 'hrdc-deliver-center',
  meta: {
    keepAlive: true,
    icon: '_HRDCkehujiaofuzhongxin',
    showAlways: true,
    access: ['ProductDelivery'],
    title: '客户交付中心'
  },
  component: Main,
  children: [
    {
      path: 'hrdc-assign',
      name: 'hrdc-assign',
      meta: {
        keepAlive: true,
        access: ['ProductDeliveryToAllocation'],
        title: '待分配项目'
      },
      component: () => import('@/view/oti-center/deliveryManage/assign/index.vue')
    },
    {
      path: 'hrdc-incomplete',
      name: 'hrdc-incomplete',
      meta: {
        keepAlive: true,
        access: ['ProductDeliveryToDelivery'],
        title: '待交付项目'
      },
      component: () => import('@/view/oti-center/deliveryManage/incomplete/index.vue')
    },
    {
      path: 'hrdc-finish',
      name: 'hrdc-finish',
      meta: {
        keepAlive: true,
        access: ['ProductDeliveryDelivery'],
        title: '完成交付项目'
      },
      component: () => import('@/view/oti-center/deliveryManage/finish/index.vue')
    }
  ]
}

export default hrdcDeliverCenterRouter;